package com.cwh.taskcenter.notice.mapper;

import com.cwh.taskcenter.notice.model.NotificationChannelConfigDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author cwh
 */
@Mapper
public interface NotificationChannelConfigMapper {


    int create(NotificationChannelConfigDO notificationChannelConfigDO);

    void creates(List<NotificationChannelConfigDO> channelConfigs);

    List<NotificationChannelConfigDO> findByTaskId(@Param("taskId") Long taskId);
}
